projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f640749
)
tests: Fix use of C99 inline declaration
author
Philip Withnall
<withnall@endlessm.com>
Tue, 7 Mar 2017 09:47:30 +0000
(09:47 +0000)
committer
Philip Withnall
<withnall@endlessm.com>
Tue, 7 Mar 2017 09:47:30 +0000
(09:47 +0000)
We don’t claim to use them yet, even if we perhaps should.
tests/testheightforwidth.c
patch
|
blob
|
history
diff --git
a/tests/testheightforwidth.c
b/tests/testheightforwidth.c
index 807aecd8626fb41b0f7e323ac17b8a237c137c79..7a0d4138eacd3f6129bc9f8bc8eaae6b177a3089 100644
(file)
--- a/
tests/testheightforwidth.c
+++ b/
tests/testheightforwidth.c
@@
-986,7
+986,9
@@
create_window (void)
static gboolean
main_window_delete_cb (GtkWidget *widget, GdkEvent *event, gpointer user_data)
{
- for (gsize i = 0; i < G_N_ELEMENTS (interfaces); ++i)
+ gsize i;
+
+ for (i = 0; i < G_N_ELEMENTS (interfaces); ++i)
{
if (interfaces[i].window)
gtk_widget_destroy (interfaces[i].window);